.profile-header {
  padding: var(--spacing-md);
}

.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-right: var(--spacing-md);
}

.avatar-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  filter: contrast(0) brightness(0.2);
}

.stats {
  display: flex;
  gap: var(--spacing-lg);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-weight: 600;
  font-size: var(--font-size-lg);
  color: var(--text-primary);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}

.profile-info {
  margin-top: var(--spacing-md);
}

.profile-name {
  font-weight: 600;
  font-size: var(--font-size-xl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.profile-bio {
  font-size: var(--font-size-md);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
}

.edit-icon {
  color: var(--text-tertiary);
  font-size: var(--font-size-md);
  cursor: pointer;
  margin-left: var(--spacing-xs);
}

.profile-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.edit-profile-btn {
  composes: btn btn-outline;
  flex: 1;
}

.share-btn {
  composes: btn btn-outline;
  padding: var(--spacing-sm);
}

.posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.post-card {
  flex: 0 0 calc(50% - var(--spacing-xs));
  background: var(--background-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: var(--spacing-sm);
}

.post-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.post-content {
  padding: var(--spacing-sm);
}

.post-title {
  font-size: var(--font-size-md);
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  word-break: break-all;
  color: var(--text-primary);
}

.post-meta {
  display: flex;
  align-items: center;
  color: var(--text-tertiary);
  font-size: var(--font-size-xs);
}

.post-user {
  display: flex;
  align-items: center;
}

.post-user img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: var(--spacing-xs);
  filter: contrast(0) brightness(0.2);
}

.post-likes {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.post-likes span {
  margin-right: var(--spacing-xs);
} 